package com.littleu.yojoincn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.littleu.yojoincn.common.mybatis.Page;
import com.littleu.yojoincn.model.ItemDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ItemMapper extends BaseMapper<ItemDO> {
    IPage<ItemDO> selectItemPaging(Page<ItemDO> pager);
    List<ItemDO> selectWithoutPaging(@Param("code") String code, @Param("name") String name, @Param("skuCode") String skuCode, @Param("simpleName") String simpleName, @Param("itemBrandName") String itemBrandName);
}
